<!--{*


Created on: 2011-12-11 08:59:08 131
*}-->

						<div class="top-action">
							<ul class="links">
								<li><a href="images-list.php">List Images</a></li>
							</ul>
							
							
						</div>
						<div class="form-wrap">
							<form id="images-add-form" name="images-add-form" method="post" action="images-add.php" enctype="multipart/form-data">
							  <table class="data-editor">
							
							
	<tr class="{cycle values='A,B'}">
		<td class="attribute">Dimension Width: <span class="required">*</span></td>
		<td>
			<input type="text" name="images[dimension_width]" value="{$images.dimension_width|utf8}" class="input" id="images-dimension_width" />
			<span class="form-hints">Original pixels width</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Dimension Height: <span class="required">*</span></td>
		<td>
			<input type="text" name="images[dimension_height]" value="{$images.dimension_height|utf8}" class="input" id="images-dimension_height" />
			<span class="form-hints">Original pixels height</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">File Size Bytes: <span class="required">*</span></td>
		<td>
			<input type="text" name="images[filesize_bytes]" value="{$images.filesize_bytes|utf8}" class="input" id="images-filesize_bytes" />
			<span class="form-hints">Filesize in bytes</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Image Code: <span class="required">*</span></td>
		<td>
			<input type="text" name="images[image_code]" value="{$images.image_code|utf8}" class="input" id="images-image_code" />
			<span class="form-hints">Unique image code</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Image Name: <span class="required">*</span></td>
		<td>
			<input type="text" name="images[image_name]" value="{$images.image_name|utf8}" class="input" id="images-image_name" />
			<span class="form-hints">Image name as title</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Image Caption: <span class="required">*</span></td>
		<td>
			<input type="text" name="images[image_caption]" value="{$images.image_caption|utf8}" class="input" id="images-image_caption" />
			<span class="form-hints">Caption text</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Image Keywords: <span class="required">*</span></td>
		<td>
			<input type="text" name="images[image_keywords]" value="{$images.image_keywords|utf8}" class="input" id="images-image_keywords" />
			<span class="form-hints">Related keywords and tags separated by comma</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Image Description: <span class="required">*</span></td>
		<td class="value">
			<div><textarea rows="5" cols="75" name="images[image_description]" class="editor" id="images-image_description">{$images.image_description|utf8}</textarea></div>
			<p><span class="form-hints">Full description</span></p>
		</td>
	</tr>

							
								<tr class="{cycle values='A,B'}">
								  <td class="attribute">&nbsp;</td>
								  <td>
									<input type="text" name="email" value="" class="vanish" />
									<input type="text" name="is_spam" value="" class="vanish" />
									<!--{* 100% sure, only spammers fill these fields, Leave it blank. *}-->
									
									<input type="hidden" name="protection_code" value="{$protection_code}" />
									<input type="hidden" name="add-action" value="Add Images" />
									<input type="submit" name="submit-button" class="submit" value="Add" />
									<a href="{url::last_page('images-list.php')}" class="button-cancel">Cancel</a>
								  </td>
								</tr>
							  </table>
							</form>
						</div>
						<!-- End of administrators Add -->


<!-- Add validation -->
<script type="text/javascript" src="js/validator/gen_validatorv31.js"></script>
{js src='validators/images/add.js' validator=true}

<!-- Rich Editor: Remove if not necessary. Or, use different .js files -->
<script type="text/javascript" src="js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="js/tinymce-textareas.js"></script>

<!-- End of images Add -->